<?php
namespace app\index\model;
use think\Model;
class Brand extends Model{

    public function goods(){
        return $this->hasOne('goods','brand_id','id');
    }

}